package com.czk.durant.springframework.beans;

/**
 * 顶层的bean工厂
 *
 * @Author:ChenZhangKun
 * @Date: 2021/6/9 14:29
 */
public interface BeanFactory {
    /**
     * 获取bean
     *
     * @param beanName
     * @return
     */
    Object getBean(String beanName);

    /**
     * 多参数的构造的获取
     *
     * @param beanName
     * @param args
     * @return
     */
    Object getBean(String beanName, Object... args);
}
